import http from './index'

export const getList = (params) => http({
  url: '/device-os/devCheckGroup/page',
  method: 'GET',
  params,
})
export const getDayList = (data) => http({
  url: '/device-os/day/view',
  method: 'POST',
  data,
})

export const statisticalList = (data) => http({
  url: '/device-os/monthly/view',
  method: 'POST',
  data,
})

export const create = (data) => http({
  url: '/device-os/devCheckGroup/checkGroupEdit',
  method: 'POST',
  data,
})

export const update = (data) => http({
  url: '/device-os/devCheckGroup/checkGroupEdit',
  method: 'POST',
  data,
})

export const detail = (params) => http({
  url: '/device-os/devCheckGroup/item',
  method: 'GET',
  params,
})

export const del = (data) => http({
  url: '/device-os/devCheckGroup/checkGroupdelete',
  method: 'POST',
  data,
})
export const deleteGroupMember = (data) => http({
  url: '/device-os/devCheckGroup/deleteGroupMember',
  method: 'POST',
  data,
})
